home *** CD-ROM | disk | FTP | other *** search
/ Robotics & Artificial Int…3 (Professional Edition) / Robotics & Artificial Intelligence Tools 2003 (Professional Edition).iso / neural network tool and application / nsinstall.exe / data1.cab / InteractiveBook_Files / Examples / Chapter7 / LVQ / 1 add new stuff.nsm next >
Encoding:
Text File  |  2002-03-08  |  782 b   |  27 lines

  1. //
  2. // 
  3. //
  4. subtitleTextBox. setText ("")
  5. mainTextBox. setText ("")
  6. //
  7. // Record New Stuff Here
  8. //
  9. filePath=macro.pathFromMacro(".\target_forced.ibe")
  10. activeBreadboard. stampOnAndMove ( "File" , "standardFull" )
  11. file1. setActiveAccessPoint ( "Forced" )
  12. file1. addFile ( filePath , FALSE )
  13. file1. setActiveTranslatorName ( "Interactive Book" , FALSE )
  14.  
  15.  
  16. //
  17. // fill in text
  18. //
  19. TextBoxPath = macro. pathFromMacro("textbox.txt")
  20. NextMacroPath = macro. pathFromMacro ( "2 add even more.nsm" )
  21. nextButton. setMacroPath ( NextMacroPath )
  22. CancelMacroPath= macro.pathFromMacro("..\minimize.nsm")
  23. cancelButton. setMacroPath ( CancelMacroPath)
  24. SubtitleIndex = subtitleTextBox. setTextFromFile (TextBoxPath, 0)
  25. MainIndex = mainTextBox. setTextFromFile (TextBoxPath, 0)
  26.  
  27.